package com.orange.eduservice.mapper;

import com.orange.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.orange.eduservice.entity.vo.CoursePublishVo;
import com.orange.eduservice.entity.vo.front.CourseFrontVo;
import com.orange.eduservice.entity.vo.front.CourseWebVo;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author orange
 * @since 2021-12-17
 */
@Component
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    CoursePublishVo getPublishCourseInfo(String courseId);
    //前台根据课程id，查询课程基础信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
